import { createRouter, createWebHistory } from 'vue-router';
import TemplateSyntax from '../views/TemplateSyntax.vue';
import Test from '@/views/Test.vue';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'template-syntax',
      component: TemplateSyntax
    },
    {
      path: '/test',
      name: 'test',
      component: Test
    }
  ]
});

export default router;
